Bitmap for WPF
GetGlyphIndices(Int32[]) メソッド

C1.WPF.DX.4.5.2 アセンブリ > C1.Util.DX.DirectWrite 名前空間 > FontFace クラス > GetGlyphIndices メソッド : GetGlyphIndices(Int32[]) メソッド
An array of USC4 code points from which to obtain nominal glyph indices. The array must be allocated and be able to contain the number of elements specified by codePointCount.
Returns the nominal mapping of UCS4 Unicode code points to glyph indices as defined by the font 'CMAP' table.
シンタックス
'宣言
 
Public Overloads Function GetGlyphIndices( _
   ByVal codePoints() As System.Integer _
) As System.Short()
public System.short[] GetGlyphIndices( 
   System.int[] codePoints
)

パラメータ

codePoints
An array of USC4 code points from which to obtain nominal glyph indices. The array must be allocated and be able to contain the number of elements specified by codePointCount.

戻り値の型

a reference to an array of nominal glyph indices filled by this function.
解説
Note that this mapping is primarily provided for line layout engines built on top of the physical font API. Because of OpenType glyph substitution and line layout character substitution, the nominal conversion does not always correspond to how a Unicode string will map to glyph indices when rendering using a particular font face. Also, note that Unicode variant selectors provide for alternate mappings for character to glyph. This call will always return the default variant.
参照

FontFace クラス
FontFace メンバ
オーバーロード一覧